package ro.gateway.aida.struts.form;
import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
 * @author Mihai Postelnicu
 *         <p>
 *         Used by admin listers e-mail (mihai@ro-gateway.org) <br>
 *         (c) 2003 by eRomania Gateway
 *         <p>
 */
public class TrnHarvestLocationForm extends ActionForm {
	// --------------------------------------------------------- Instance
	// Variables
	private String name;
	private String baseURL;
	private String lang;
	private int id;
	// --------------------------------------------------------- Methods
	/**
	 * Method reset
	 * 
	 * @param ActionMapping
	 *            mapping
	 * @param HttpServletRequest
	 *            request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		name = "";
		baseURL = "";
		lang = "";
		id=0;
	}
	/**
	 * @return Returns the baseURL.
	 */
	public String getBaseURL() {
		return baseURL;
	}
	/**
	 * @param baseURL
	 *            The baseURL to set.
	 */
	public void setBaseURL(String baseURL) {
		this.baseURL = baseURL;
	}
	/**
	 * @return Returns the lang.
	 */
	public String getLang() {
		return lang;
	}
	/**
	 * @param lang
	 *            The lang to set.
	 */
	public void setLang(String lang) {
		this.lang = lang;
	}
	/**
	 * @return Returns the name.
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name
	 *            The name to set.
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return Returns the id.
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id The id to set.
	 */
	public void setId(int id) {
		this.id = id;
	}
}
